import { getlistApi } from '@/api/manage'
export default {
  namespaced: true,
  state: {
    tableData: []
  },
  mutations: {
    SET_LIST(state, data) {
      state.tableData = data
    },
  },
  actions: {
    // 渲染
    async getList({ commit }) {
      const { data } = await getlistApi();
      commit("SET_LIST", data)
    },
  },
  getters: {

  },
  modules:{}
}